﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Services;
using WebApp.Models;
using Models;


namespace WebApp.Controllers
{
    public class HotController : Controller
    {
        ContentsServices contentSvrs = new ContentsServices();
        // GET: Hot
        public ActionResult Index()
        {
            IndexViewModels retResult = new IndexViewModels();
            retResult.HotContents = contentSvrs.GetHot(1, 10);

            return View(retResult);
        }
    }
}